<?php


namespace app\webs\model;


use think\Model;

class LangModel extends Model
{
    protected $name = 'lang';

    public function getImageAttr($imger)
    {
        return request()->domain() . $imger;
    }

    public function child()
    {
        return $this->hasMany(StuffModel::class,'lang_id','id');
    }


}